package com.team6.stickynote.util;

import android.content.Context;
import android.widget.Toast;

import com.team6.stickynote.App;

public class ToastUtil {

    public static void toast(String msg) {
        Toast.makeText(App.context, msg, Toast.LENGTH_SHORT).show();
    }

    /**
     * 显示时间较长的 Toast
     *
     * @param msg 文本
     */
    public static void toastLong(String msg) {
        Toast.makeText(App.context, msg, Toast.LENGTH_LONG).show();
    }
}
